package com.site.wisdom_construction.responseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/** @Description @Author daiyifei @Date 2021-11-18 */
@ApiModel(value = "LoginResult", description = "登录返回实体类")
public class LoginResult {
  @ApiModelProperty(value = "状态码", name = "code")
  private Integer code;

  @ApiModelProperty(value = "返回信息", name = "message")
  private String message;

  @ApiModelProperty(value = "返回对象", name = "result")
  private Object result;

  @ApiModelProperty(value = "token", name = "token")
  private String token;

  public LoginResult() {
    super();
  }

  public LoginResult(Integer code, String message, Object result, String token) {
    this.code = code;
    this.message = message;
    this.result = result;
    this.token = token;
  }

  public Integer getCode() {
    return code;
  }

  public void setCode(Integer code) {
    this.code = code;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public Object getResult() {
    return result;
  }

  public void setResult(Object result) {
    this.result = result;
  }

  public String getToken() {
    return token;
  }

  public void setToken(String token) {
    this.token = token;
  }
}
